import request from '@/utils/request'
const MODEL_NAME='/competition/examination-detail'
export function queryByExamId(id){ 
    return request({
        url:`${MODEL_NAME}/${id}`,
        method: 'get',
        
    })
}
export function checkAnswer(number,userAnswer){ 
    return request({
        url:`${MODEL_NAME}`,
        method: 'post',
        data:{ 
            number,
            userAnswer
        }
        
    })
}
export function showRank(){
    return request({
        url:`${MODEL_NAME}/showRank`,
        method: 'get',
    })
}